package com.sls.game.dao.wogreat;

import java.util.List;

import com.sls.game.page.Pagination;
import com.sls.game.pojo.wogreat.WogreatAccountType;

public interface WogreatAccountDAO {

	/**
	 * 插入账户信息
	 * 
	 * @param account
	 */
	public void insertAccount(WogreatAccountType account);

	/**
	 * 通过产品编号和账户名称查询
	 * 
	 * @param account
	 * @return
	 */
	public List<WogreatAccountType> queryByProIdAndAccountName(
			WogreatAccountType account);

	/**
	 * 分页查询
	 * 
	 * @param account
	 * @return
	 */
	public Pagination<WogreatAccountType> queryPage(WogreatAccountType account);

	public List<String> queryAccNameByProductId(String productId);
	
	/**
	 * 根据产品id删除
	 * 
	 * @param productId
	 */
	public void deleteByProductId(String productId);

}
